package org.codebase.spring.framework.repository.hibernate;

import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;

/**

 * @author:xiaozhichao
 * @date:2018/9/12
 */
public class BaseDemo {
    public static void main(String[] args) {
        Configuration config = new Configuration().configure();
        SessionFactory factory = config.buildSessionFactory();
        Session session = factory.openSession();
    }
}
